package org.example.im.bean.protocol.request;

import lombok.*;
import org.example.im.bean.protocol.CommandType;
import org.example.im.bean.protocol.Packet;

/**
 * @author dingrui
 * @since 2022/2/10
 * @description
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@EqualsAndHashCode(callSuper = true)
public class LoginRequestPacket extends Packet {

    private String userName;
    private String password;

    @Override
    public CommandType getCommandType() {
        return CommandType.LOGIN_REQUEST;
    }
}
